package com.test.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)  //链式结构
@NoArgsConstructor   //无参构造函数
public class SessionListPojo {

    private Integer id;  // 会话id
    private Integer userId;  //所属用户
    private Integer toUserId;  //到用户
    private String listName; //会话名称
    private Integer unReadCount; //未读消息数
}
